home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
012
/
newkey43.arc
/
TEST.KEY
< prev
next >
Wrap
Text File
|
1987-05-02
|
7KB
|
128 lines
* used for translation bypass demonstration
<begdef><&>Hello!<enddef>
*
<begdef><alt0>level0<enddef>
* nested macro demonstration
<begdef><alt1>level1<alt2><enddef>
*
<begdef><alt2>level2<alt3><enddef>
*
<begdef><alt3>level3<alt4><enddef>
*
<begdef><alt4>level4<alt5><enddef>
*
<begdef><alt5>level5<alt6><enddef>
*
<begdef><alt6>level6<alt7><enddef>
*
<begdef><alt7>level7<alt8><enddef>
*
<begdef><alt8>level8<alt9><enddef>
*
<begdef><alt9>level9<alt0><enddef>
* clear screen demonstration
<begdef><altf1><cls> Clear screen macro demonstration <esc>
<esc>I am going to clear your screen. Press any key when you are
<esc>ready.<ffld><cls>Newkey can clear your screen whenever you wis
h.<enddef>
* beep demonstration
<begdef><altf2><cls><tab> Beep macro demonstration <esc><esc>I
am going to beep. <beep> Newkey macros can beep <beep><esc> wheneve
r you wish.<esc><enddef>
* screen off/on demonstration
<begdef><altf3><cls><tab> Screen off macro demonstration <esc>
<esc>I am going to turn the screen off when you hit enter. To turn
the screen <esc>back on press any key a couple of times. Press en
ter when ready.<vfld> <esc><scroff><ffld><ffld> <esc><esc>Now I'm
going to turn off the screen for 5 seconds and then turn it on.
<esc>Press any key when ready. <ffld><scroff><wait><wait><wait>
<wait><wait><wait><wait><wait><wait><wait><scron> <esc><enddef>
* 5 second time delay
<begdef><altt><esc><slowoff>5 second time delay begins now:<wait>
<wait><wait><wait><wait><wait><wait><wait><wait><wait> and ends now
. <esc><enddef>
* Macro which calls itself
<begdef><ctrlw><esc><slowon>Hi! I'm <caps,>ctrlw<caps.>. I will ca
ll myself over and over until you <esc>stop me by pressing <caps,>c
trlesc<caps.> (ctrl\ for enhanced), the <esc>Newkey cancel key.
<esc>I will type slowly since I have turned on slow typing mode so
that <esc>you can follow what is happening.<esc><esc><ctrlw>
<enddef>
* Fixed Length Fill-in-the-blanks Pause Demonstration
<begdef><f1><cls><slowoff> Fixed length fill-in-the-blanks de
monstration <esc><esc>Enter 2 keystrokes: <ffld><ffld> and Newkey
will finish for you.<esc><enddef>
* Playback multi-character macro demonstration
<begdef><f10><cls><esc><esc><esc><esc><esc><esc><esc> Playback m
ulti-character macro demonstration <esc>To play back a multi-cha
racter macro, follow these steps: <esc><esc> 1. Press <caps,>al
t,<caps.> <esc> 2. Type in "multimac" <esc> 3.
Press enter <esc><enddef>
* Variable Length Fill-in-the-blanks Pause Demonstration
<begdef><f2><cls><slowoff> Variable length fill-in-the-blanks d
emonstration <esc><esc>Enter any number of keystrokes followed by e
nter: <vfld> <esc>and Newkey will finish for you. <esc>
<enddef>
* Translation Bypass Demonstration
<begdef><f3><cls><slowoff> Translation bypass demonstration
<esc><esc>Enter '<notr>&' followed by enter: <vfld><esc>You will
notice that '<notr>&' has been redefined to 'HELLO'.<esc>Now enter
ctrl-2 and '<notr>&' followed by enter: <vfld> <esc><esc>You will
notice that '<notr>&' was returned, not 'HELLO'. <esc>This is an
example of Newkey's translation bypass feature <esc><enddef>
* Time Delay Demonstration
<begdef><f4><cls><slowoff> Time delay demonstration
<esc><esc>Enter ALT T. Newkey will wait for 5 seconds before c
ontinuing. <esc>You will notice that the cursor has become a fat ba
r. <esc><enddef>
* Dynamic Display Feature Demonstration
<begdef><f5><cls><slowoff> Dynamic display feature demon
stration: <esc><esc>Enter CTRL / (ALT / for enhanced).
This will allow you to invoke several <esc>Newkey functions without
leaving your current program. <esc><esc>This feature is a
lways available, no matter what program <esc>you are in. When you
are finished Newkey will restore <esc>your screen exactly where you
left off. <esc><enddef>
* Slow typing mode demonstration
<begdef><f6><cls><slowoff> Slow Typing Mode Dem
onstration <esc><esc><slowon>Slow typing mode has just b
een turned on. You will notice how <esc>slowly Newkey is typing.
Now we will turn slow typing off.<slowoff> <esc>Notice how quickly
Newkey is typing. Much too fast for you <esc>to follow what is hap
pening. <esc><enddef>
* Defining macro within macro demonstration
<begdef><f7><cls><slowoff><esc><esc><esc> Defining macro
within macro demonstration <esc><esc>This macro will def
ine <caps,>ctrlq<caps.> to be whatever you type in. <esc>Type what
ever you want to and when you are done press <esc><caps,>alt-
<caps.> to end it. Start now: <esc><begdef><ctrlq><esc>Now
that you have finished, press <caps,>ctrlq<caps.> and watch <esc>wh
at you typed in returned. Newkey will press it for <esc>you first
:<esc><ctrlq><enddef>
* Macro calls Itself and Cancel Newkey Demonstration
<begdef><f8><cls><slowoff> Macro Calls Itself and Cancel Newkey P
rocessing Demonstration<esc><esc>Press <caps,>ctrlw<caps.>. This w
ill start a macro which calls itself.<esc>This macro will continue
to execute until you press the Newkey<esc>cancel processing key,
<caps,>ctrlesc<caps.> (ctrl\ for enhanced). <esc>This key cancels
all current Newkey processing and clears the keyboard <esc>buffer.
Newkey will press <caps,>ctrlw<caps.> for you.<esc><ctrlw><enddef>
* Macro which calls Newkey's dynamic display features
<begdef><f9><cls><slowoff> Macro which calls Newkey's dynamic
display features<esc><esc>This macro will actually invoke Newkey's
dynamic display features <esc>to automatically change one of the N
ewkey parameters. In this <esc>case we will turn off the screen sa
ver. Press any key when you <esc>are ready.<ffld><esc><cmd>4pn
<esc><esc><endcmd><esc>That was easy wasn't it.<esc><enddef>
* Multi-character macro
<begdef><multimac><esc> Hi! I'm a multi-character macro named "m
ultimac". I am used<esc>by <caps,>f10<caps.> to demonstrate multi-
character macros.<esc><enddef>
* Multi-character macro which calls itself
<begdef><recurmac><esc><slowon>Hi! I'm <caps,>recurmac<caps.>. I w
ill call myself over and over until <esc>you stop me by pressing
<caps,>ctrlesc<caps.> (ctrl\ for enhanced), the <esc>Newkey cancel
key. <esc>I will type slowly since I have turned on slow typing m
ode so that <esc>you can follow what is happening.<esc><esc>
<recurmac><enddef>